<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %>
<%@ page import="java.util.Calendar" %>
<%@ page import="java.util.GregorianCalendar" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page import="java.io.*,java.util.*" %>
<html lang="zh-CN">
<head>
  <title>在线考试系统教师主页</title>
</head>

<body>
<%--菜单栏--%>
<jsp:include page="teacher_menu.jsp"></jsp:include>
<%--默认页面右侧内容--%>
<div>
  <%
    // 获取当前时间
    Date d = new Date();
    SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
    String time = sdf.format(d);
    String CT = "登录时间：" + time;
  %>
  <img src="image/exam_home.jpg" alt="考试背景图" style="margin-left: 30%;margin-top: 20px;  width: 700px;height: 350px;">
  <h1 style="margin-left: 45%;">欢迎登录在线考试系统
  </h1>
  <h1 style="margin-left: 46%;"><%=CT %>
  </h1>
  <h3 style="margin-left: 48%; color: rgba(10,83,136,0.48)">刷新时间，请点击标题</h3>
</div>
</body>
</html>